/* 
 * File:   Camera.h
 * Author: gilvolpe
 *
 * Created on March 9, 2012, 2:03 PM
 */

#ifndef CAMERA_H
#define	CAMERA_H

#include <iostream>
#include <flycapture/FlyCapture2.h>

void
camCleanUp(FlyCapture2::Camera *cam, FlyCapture2::Error error);

bool
camSetCarateristic(FlyCapture2::Camera *cam, FlyCapture2::Error *error, FlyCapture2::Format7ImageSettings *fmtImageSettings);

bool
camOpenConfig(FlyCapture2::Camera *cam, FlyCapture2::Error *error);

bool
CaptureImage(FlyCapture2::Image *RGBImage, FlyCapture2::Image *BayerImage, FlyCapture2::Camera *cam, FlyCapture2::Error *error);

#endif	/* CAMERA_H */

